package com.mc.read.dao.mapper;

import com.mc.read.dao.models.Bookaudit;
import com.mc.read.dao.models.BookauditExample;
import com.mc.read.dao.vo.BookPageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookauditMapper {
    int countByExample(BookauditExample example);

    int deleteByExample(BookauditExample example);

    int deleteByPrimaryKey(Integer bookinauditid);

    int insert(Bookaudit record);

    int insertSelective(Bookaudit record);

    List<Bookaudit> selectByExample(BookauditExample example);

    Bookaudit selectByPrimaryKey(Integer bookinauditid);

    int updateByExampleSelective(@Param("record") Bookaudit record, @Param("example") BookauditExample example);

    int updateByExample(@Param("record") Bookaudit record, @Param("example") BookauditExample example);

    int updateByPrimaryKeySelective(Bookaudit record);

    int updateByPrimaryKey(Bookaudit record);

    List<Bookaudit> selectBookAuditList(BookPageVo bookPageVo);
}